<template>
  <div>
    <ul>

      <li>{{ id }}</li>
      <li>{{ title }}</li>
    </ul>
    <br />
    <div>{{ a }}</div>
    <div>{{ b }}</div>
  </div>
</template>

<script>
export default {
  name: "NewsDetial",
  mounted() {
    console.log(this.$route);
    console.log(this.$router);
  },
  props: ["id", "title", "a", "b"],
};
</script>